<?php
$cryptinstall = "./crypt/cryptographp.fct.php";
require_once $cryptinstall;
$titre = "Suggestions";
require_once('header.php');
?>

<div id="contenu">

    <h1>Suggestions</h1>

    <form id="suggestion" name="suggestion" method="post" action="#" onsubmit="return testChamps(this);">
        <h3>* Champ obligatoire</h3>

        <p>
            <label for="mot_fr">Votre suggestion (en Francais)* :</label>
            <label for="mot_en">Votre suggestion (en anglais)* :</label>
        </p>    

        <p>
            <input type="text" name="mot_fr" id="mot_fr" value="" maxlength="20" onchange="test_suggestion(this);" onkeypress="return valid_carac(event);"/>
            <input type="text" name="mot_en" id="mot_en" value="" maxlength="20" onchange="transformer_chaine(this);" onkeypress="return valid_carac(event);"/>
        </p>

        <p><span id="mot_fr_check"></span></p>

        <?php dsp_crypt(0, 1); ?>

        <p><label for="code">Recopier le code* :</label></p>

        <p><input type="text" name="code" id="code"/></p>

        <div>
            <input type="submit" name="Valider" value="Soumettre la suggestion"/>
        </div>

    </form>

</div>

<?php
include('footer.php');
?>